#ifndef BUTTON_HPP
#define BUTTON_HPP

#include "content/data_provider.hpp"
#include "ui/controls/control_base.hpp"

class button : public ui_control {
public:
    using ui_control::ui_control;
protected:
    void update_data(bindable_base *data) override;

    void init_content(const xml_node& node) override;

    void draw_self() override;

    data_provider_p text_;
    data_provider_p callback_;
};


#endif /* BUTTON_HPP */
